#ifndef __MYOPGLVIEWFRAME_H__
#define __MYOPGLVIEWFRAME_H__

#include <wx/splitter.h>
#include <wx/listctrl.h>
//#include "myOpGLViewDlg.h"
#include "myOpGLViewCanvas.h"
class myOpGLViewFrame : public wxFrame
{
      DECLARE_EVENT_TABLE()

      private:
             myOpGLViewCanvas* myGLCanvas;
             wxTimer myTimer;
      public:
             myOpGLViewFrame(wxWindow* parent, wxWindowID id = -1,
                             const wxString& caption = _("wxOpenGLView v0.1"),
                             const wxPoint& pos = wxDefaultPosition,
                             const wxSize& size = wxDefaultSize,
                             long style = wxDEFAULT_FRAME_STYLE);
             ~myOpGLViewFrame();
             bool Create(wxWindow* parent, wxWindowID id = -1,
                         const wxString& caption = _("wxOpenGLView v0.1"),
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = wxDEFAULT_FRAME_STYLE);
      protected :
             void OnQuitClick(wxCommandEvent& event);
             void OnAboutClick(wxCommandEvent& event);
             void OnDrawClick(wxCommandEvent& event);
             void resized(wxSizeEvent& event);
             void DrawTimer(wxTimerEvent& event);
};

#endif
